package model.entityes.exception;

import model.UserException;

public class PointContentException extends UserException
{

    private static final long serialVersionUID = 1L;
    
    public static PointContentException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	PointContentException err = new PointContentException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static PointContentException errorIdEqNull()
    {
	return PointContentException.getExceptionWhitUserMessage("Error: ID == null");
    }

}
